package com.xs.designpattern;

import lombok.RequiredArgsConstructor;

/**
 * @author xs
 */
@RequiredArgsConstructor
public enum Action {
    /**
     * 行为枚举
     */
    HUNT("猎杀了一只兔子", "来吃晚饭了"), TALE("讲一个故事", "来听"), GOLD("发现金子", "获得他的那份黄金"),
    ENEMY("发现的敌人", "奔跑寻找掩护"), NONE("", "");

    private final String title;
    private final String description;

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        return title;
    }
}
